package com.zzgele.qmzb.api.dao;

import com.zzgele.qmzb.api.core.Mapper;
import com.zzgele.qmzb.api.model.WatchLog;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.Map;

@Repository
public interface WatchLogMapper extends Mapper<WatchLog> {



    @Select("select id,uid,room_id,start_time,end_time,uuid,create_time from watch_log " +
            "where uid=#{uid} and uuid=#{uuid} ")
    WatchLog queryByUuid(Map<String, Object> map);
}